ExamPlay Light Logo
Prisijunkite

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 6 - No. 24)

What is the primary advantage of using a FOR loop over a WHILE loop?
It is more flexible
It automatically manages a counter.
It is better for conditions.
It can be used for any task.

Paaiškinimas

FOR loops are ideal when the number of iterations is known upfront, as they automatically manage the counter variable.

Komentarai (0)

Prisijungti Norėdami komentuoti
Skelbimas
BrainBehindX Inc Logo
©2026; Maitinamas BrainBehindX Inc